<?php /* Smarty version 2.6.19, created on 2012-10-03 22:24:36
         compiled from D:/xampp/htdocs/nghiepquang/templates/NewsList/NewsPage.tpl */ ?>
<div id="navigation" class="title_text">
    <a href="<?php echo $this->_tpl_vars['url_home']; ?>
">Trang chủ</a>

    <div class="node"></div> <?php if ($this->_tpl_vars['cat_name']): ?> <a href="news.html">Tin tức</a>

    <div class="node"></div>
    <a href="<?php echo $this->_tpl_vars['cat_url']; ?>
" class="selected"><?php echo $this->_tpl_vars['cat_name']; ?>
</a><?php else: ?> <a href="news.html" class="selected">Tin tức</a><?php endif; ?>
<?php if ($this->_tpl_vars['is_admin']): ?><a style="float: right;" href="news_admin.html">[Quản lý tin]</a><?php endif; ?>
    <div class="c"></div>
</div>
<table cellspacing="0" border="0" style="border-collapse:collapse;">
    <tbody>
    <tr>
    <?php $_from = $this->_tpl_vars['cat_newss']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['home_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['home_list']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['news']):
        $this->_foreach['home_list']['iteration']++;
?>
        <td valign="top">
            <div class="right_cont_right">
                <p class="tieude_baiviet_Trangtintuc"><a href="<?php echo $this->_tpl_vars['news']['url']; ?>
" title="<?php echo $this->_tpl_vars['news']['title']; ?>
"><?php echo $this->_tpl_vars['news']['title']; ?>
 </a>
                </p>

                <p class="tieude_ngaythang_trangtintuc">
                    <img src="<?php echo @STATIC_HOME; ?>
images/icon_cont_right.png@lang=vi-vn.png" alt="">
                    <span title="Cập nhật lúc <?php echo $this->_tpl_vars['news']['news_h']; ?>
, ngày <?php echo $this->_tpl_vars['news']['news_d']; ?>
">(<span><?php echo $this->_tpl_vars['news']['news_h']; ?>
</span> | <?php echo $this->_tpl_vars['news']['news_d']; ?>
)</span>

                </p>

                <p class="right_img" style="height: 115px;overflow: hidden;">

                    <?php if ($this->_tpl_vars['news']['image']): ?>
                        <a href="<?php echo $this->_tpl_vars['news']['url']; ?>
" title="<?php echo $this->_tpl_vars['news']['title']; ?>
"><img src="<?php echo $this->_tpl_vars['news']['image']; ?>
" style="border: 0px; width: 130px; height: 100px"></a>
                    <?php endif; ?>
                    <?php echo $this->_tpl_vars['news']['brief']; ?>



                </p>
                <div align="right">
                    <a href="<?php echo $this->_tpl_vars['news']['url']; ?>
" title="<?php echo $this->_tpl_vars['news']['title']; ?>
"
                       style="color:Black;font-weight:bold;">...Xem tiếp</a>
                </div>
            </div>
            <div class="border_right">
            </div>
        </td>
        <td>
            <div style="width: 30px">
            </div>
        </td>
        <?php if ($this->_foreach['home_list']['iteration'] % 2 == 0): ?>
        </tr>
        <tr>
        <?php endif; ?>
        <?php if (($this->_foreach['home_list']['iteration'] == $this->_foreach['home_list']['total'])): ?>
        </tr>
        <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?>


    </tbody>
</table>